import { useCounterStore } from "../../pinia/index";
let Store=useCounterStore()



export function  PendingContractTableData(val:any){
    
    let obj=Store.PendingContractTable.filter((item:any,index:String,)=>{
return item.state==val[0]
})


if(obj){
    let obj1=obj.filter((item:any)=>{
    
        return item.bao==val[1]
        })

if(obj1){


let obj2=obj1.filter((item:any)=>{
    
return item.team==val[2]
})

if(obj2){
let obj3=obj2.filter((item:any)=>{ 
return item.bao1==val[3]
})
   

return obj3
}else{
    return ''
}



}else{ return ''}
        
}else{
    return ''
}



}
